/*
 * events.h
 *
 *  Created on: 12.02.2012
 *      Author: Roma Jam
 */


#ifndef EVENTS_H_
#define EVENTS_H_

enum change_angle_t {
    azimuth_left, azimuth_right, azimuth_const, elevation_up, elevation_down, elevation_const
};
extern change_angle_t azimuth_setup, elevation_setup;
struct motor_parametres_t {
    bool MotorUp_flag, MotorDown_flag, MotorLeft_flag, MotorRight_flag;
};
extern motor_parametres_t motor_parametres;
class events_t {
private:
public:
    void Backlight_switch(void);
    void Cmd_Sourse_switch(void);
    void Language_switch(void);
    void Main_pointer_redraw(void);
    void Settings_pointer_redraw(void);
    void Drive_pointer_redraw(void);
    void Angle_change(void);
    void Azimuth_reprint(uint16_t Var_adc);
    void Elevation_reprint(uint16_t Var_adc);
    void Angle_motor_reprint(void);
    void Catch(uint32_t AParameter);
    void ADC_get(void);
    void Motor_indicate(void);
};
extern events_t Event;
#endif /* EVENTS_H_ */
